<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title></title>
</head>
<body>
	<form action="doreg.php" method="post" >
	<table width="80%">
	<caption>regestation</caption>
		<tr>
			<td width="80px" align="right"><label for="username">Username:</label></td>
			<td>	
				<input type="text" name="username" id="username" size="80" required>
			</td>
		</tr>
		<tr>
			<td width="400px" align="right"><label for="password">Password:</label></td>
			<td>
				<input type="password" name="password" id="password" size="80" required>
			</td>
		</tr>
		<tr>
			<td width="400px" align="right"><label for="cpassword">Confirm:</label></td>
			<td>
			<input type="password" name="cpassword" id="cpassword" size="80" required>
			</td>
		</tr>
		<tr>
			<td width="400px" align="right"><label for="e-mail">e-mail:</label></td>
			<td>
			<input type="e-mail" name="e-mail" id="e-mail" size="80" required>
			</td>
		</tr>
		<tr>
			<td align="right"><label>Sex:</label></td>
				<td>
					<input type="radio" name="sex" value="male" checked>male
					<input type="radio" name="sex" value="female">female
				</td>
		</tr>
		<tr>
			<td align="right"><label >hobbies:</label></td>
			<td>
			<input type="checkbox" name="hobby[]" value="swimming" checked>swimming
			<input type="checkbox" name="hobby[]" value="pingpong">pingpong
			</td>
		</tr>

		<tr>
			<td colspan="2" align="center">
				<input type="submit" value="submit">
				<input type="reset" value="reset">
			</td>
		</tr>
	</table>
		
	</form>
</body>
</html>